package dataObjects;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractIngredients entity provides the base persistence definition of the
 * Ingredients entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractIngredients implements java.io.Serializable {

	// Fields

	private String name;
	private String type;
	private Set subingredientses = new HashSet(0);
	private Set subingredientses_1 = new HashSet(0);
	private Set foodingredientses = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractIngredients() {
	}

	/** minimal constructor */
	public AbstractIngredients(String name) {
		this.name = name;
	}

	/** full constructor */
	public AbstractIngredients(String name, String type, Set subingredientses,
			Set subingredientses_1, Set foodingredientses) {
		this.name = name;
		this.type = type;
		this.subingredientses = subingredientses;
		this.subingredientses_1 = subingredientses_1;
		this.foodingredientses = foodingredientses;
	}

	// Property accessors

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Set getSubingredientses() {
		return this.subingredientses;
	}

	public void setSubingredientses(Set subingredientses) {
		this.subingredientses = subingredientses;
	}

	public Set getSubingredientses_1() {
		return this.subingredientses_1;
	}

	public void setSubingredientses_1(Set subingredientses_1) {
		this.subingredientses_1 = subingredientses_1;
	}

	public Set getFoodingredientses() {
		return this.foodingredientses;
	}

	public void setFoodingredientses(Set foodingredientses) {
		this.foodingredientses = foodingredientses;
	}

}